package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lxp
 * @since 2023-01-01
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("mms_regiment")
@ApiModel(value="Regiment对象", description="")
public class Regiment extends Model<Regiment> {

    private static final long serialVersionUID = 1L;

            @ApiModelProperty(value = "序号")
    @TableId("no")
    private Integer no;

            @ApiModelProperty(value = "团场武装部(团机关)")
    private String regiment;

            @ApiModelProperty(value = "所属师武装部(师机关)")
    private String division;


    @Override
    protected Serializable pkVal() {
        return this.no;
    }

}
